const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  staffName: state => state.user.staffName,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  oauthId: state => state.user.oauthId,
  staffId: state => state.user.staffId,
  companyId: state => state.user.companyId,
  hospitalId: state => state.user.hospitalId,
  departmentId: state => state.user.departmentId,
  curHospitalId: state => state.user.curHospitalId,
  tabsCurrentName: state => state.tabInspection.tabsCurrentName,
  tabsCurrent: state => state.tabInspection.tabsCurrent,
  isFromHome2Work: state => state.tabInspection.isFromHome2Work,
  orderType: state => state.tabInspection.orderType,
  keyBoardHeight: state => state.keyBoardCheckItem.keyBoardHeight,
  inputValue: state => state.keyBoardCheckItem.inputValue,
  checkedCache: state => state.checkedCache.checkedCache,
  maintenanceCache: state => state.maintenanceCache.maintenanceCache,
  fixCache : state => state.fixCache.fixCache,
  iosFirstOpenCamera : state => state.user.iosFirstOpenCamera,
  paginationUseful: state => state.pagination.useful,
  paginationPageSize: state => state.pagination.pageSize,
}
export default getters
